<div  ng-controller="TaskControl">

    <div ng-include="'app/partial/project/_project_nav.html'" ></div>


    <div class=" tool-bar pull-right ">

        <div class="btn-group visible-lg-inline">

            <a href="#/show/{{project.name}}/task/new"  class="btn btn-primary" >
                <i class="glyphicon glyphicon-plus"></i>{{'link.add'|translate}}</a>
        </div>

    </div>
     <div>

         <div id="warning_tab_div">
             <table class="table table-bordered table-hover">
                 <thead>
                 <tr class="active">
                     <th translate>label.name</th>
                     <th translate>label.cron</th>
                     <th translate>label.operate</th>
                 </tr>
                 </thead>
                 <tbody>

                 <tr ng-repeat="task in project.tasks"    >

                     <td ><a href="#/show/{{project.name}}/task/{{task.name}}">{{task.name}}</a></td>
                     <td>{{task.cron}}</td>
                     <td>
                         <button class="btn  btn-sm" confirmed-click="removeTask(task)"
                                 ng-confirm-click="{{'tip.confirmDelete' | translate}} [{{task.name}}]?">{{'label.delete' | translate}}</button>
                        </td>
                 </tr>
                 </tbody>
             </table>
         </div>
     </div>
</div>
